package com.abc.cloud.dto.im;

import com.abc.cloud.entity.FileEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class ChatDetail {

    private Long fromUserId;

    private Long chatId;

    private String content;

    private String fromAvatar;

    private String fromUsername;

    private String fromNickname;

    private Long toUserId;

    private String toAvatar;

    private String toUsername;

    private String toNickname;

    // 聊天方式
    private Integer type;

    private String createTime;

    @JsonProperty("fileList")
    private List<FileEntity> fileList;
}
